package fnic.jsontrans.modesearch;

public class StaticalFacetOutput {
	long count;
	double min;
	double max;
	double mean;
	double total;
	double stddev;// 标准差Standard Deviation
	double sumsquare; // 平方和Sum of Squares
	double variance;// 方差Variance
	
	public StaticalFacetOutput(long cnt, double min, double max, 
			double mean, double total, double stddev, double sumsquare, double variance){
		this.count = cnt;
		this.min = min;
		this.max = max;
		this.mean = mean;
		this.total = total;
		this.stddev = stddev;
		this.sumsquare = sumsquare;
		this.variance = variance;
	}
	
	public long getCount(){
		return count;
	}
	
	public double getMin(){
		return min;
	}
	
	public double getMax(){
		return max;
	}
	
	public double getMean(){
		return mean;
	}
	
	public double getTotal(){
		return total;
	}
	
	public double getStddev(){
		return stddev;
	}
	
	public double getSumsquare(){
		return sumsquare;
	}
	
	public double getVariance(){
		return variance;
	}

}
